<template>
  <div>
    <pieChart :data="data" :xAxis="xAxis" style="width: 100%; height: 300px" />
  </div>
</template>

<script>
import pieChart from '_my_c/echarts/barChart.vue'
export default {
  components: {
    pieChart
  },
  data() {
    return {
      data: [
        {name: 'xx', data: [1,2,3]},
        {name: 'yy', data: [1,2,3]},
        {name: 'zz', data: [1,2,3]},
        {name: 'qq', data: [1,2,3]},
        {name: 'dd', data: [1,2,3]},
      ],
      xAxis: ['2020', '2021', '2022'],
    }
  }
}
</script>

<style>

</style>